package com.chixing.day05;

public class Work3 {
    public static void main(String[] args) {
        int[]a={11,22,33,44,55};
        int b=find(a,55);
        if(b!=1){
            System.out.println(b);
        }else {
            System.out.println("不存在");
        }


    }
    public static int find(int[] arr,int value){
        for (int i=0;i<arr.length;i++){
            if(arr[i]==55){
                return i;
            }

        }
        return -1;
    }
}
